<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="Content-Language" content="zh-CN" />
	<meta name="Design Corp" content="etng.net" />
	<meta name="Designer mail" content="etng2004@gmail.com" />
	<meta name="roots" content="follow,index" />
	<meta name="Keywords" content="<?php echo $this->page['keywords']; ?>" />
	<meta name="Description" content="<?php echo $this->page['description']; ?>" />
	<meta name="version" content="<?php echo $this->page['version']; ?>" />
	<title><?php echo $this->page['title']; ?></title>
	<link rel="shortcut icon" href="<?php echo $this->wwwroot; ?>/favicon.ico" type="image/x-icon" />
	<link rel="stylesheet" rev="stylesheet" type="text/css" media="print" href="<?php echo $this->wwwroot; ?>/css/print.css" />
	<link rel="stylesheet" rev="stylesheet" type="text/css" media="screen, projection" href="<?php echo $this->wwwroot; ?>/css/main.css" />
	<script src="<?php echo $this->wwwroot; ?>/js/common.js" type="text/javascript"></script>
	<script src="<?php echo $this->wwwroot; ?>/js/jquery.js" type="text/javascript"></script>
	<script type="text/javascript" src="<?php echo $this->wwwroot; ?>/js/Jquery/jquery.blockUI.js"></script>
	<script type="text/javascript" src="<?php echo $this->wwwroot; ?>/js/Jquery/jquery.array.js"></script>
	<script type="text/javascript" src="<?php echo $this->wwwroot; ?>/js/Jquery/jquery.format.js"></script>
	<script type="text/javascript" src="<?php echo $this->wwwroot; ?>/js/Jquery/jquery.cookie.js"></script>
	<script type="text/javascript" src="<?php echo $this->wwwroot; ?>/js/Jquery/jquery.checkboxes.js"></script>
	<script type="text/javascript" src="<?php echo $this->wwwroot; ?>/js/Jquery/jquery.calendar.js"></script>
	<script type="text/javascript" src="<?php echo $this->wwwroot; ?>/js/Jquery/jquery.searchField.js"></script>
	<script type="text/javascript" src="<?php echo $this->wwwroot; ?>/js/Jquery/jquery.calendar.lang.cn.js"></script>
	<script type="text/javascript" src="<?php echo $this->wwwroot; ?>/js/EtCheckboxes.js"></script>
	<link rel="stylesheet" href="<?php echo $this->wwwroot; ?>/js/Jquery/jquery.calendar.style.css" />
	<link rel="stylesheet" rev="stylesheet" type="text/css" media="screen, projection" href="<?php echo $this->wwwroot; ?>/css/table.css" />
	<style type="text/css">
			.develop_notice{display:none;}
	</style>
</head>
<!--
@author	Yi Bo <etng2004@gmail.com>
@version	$Id: header.php 60 2007-09-10 03:45:59Z etng2004 $
@copyrithg	2006-2007 ETE.CN
@license 	PHP Version 3.0 {@link http://www.php.net/license/3_0.txt}
-->
<body class="FullWidth">
<div id="Head"> <a class="hidden" href="#Content">跳过导航及工具栏</a>
  <div id="HeadTop">
    <div id="Logo"> <a href="http://www.adsky.com/"><img  border="0" alt="联告，精准定向！" src="<?php echo $this->wwwroot; ?>/images/logo.jpg"/></a> </div>
    <div id="HeadNavBar" style="display:none;">
      <ul>
        <li class="NoSep"><a href="#">链接</a></li>
        <li><a href="#">链接</a></li>
        <li><a href="#">链接</a></li>
        <li><a href="#">链接</a></li>
        <li><a href="#">链接</a></li>
        <li><a href="<?php echo $this->module_url;?>/staff/add/">新增员工</a></li>
        <li><a href="<?php echo $this->module_url;?>/staff/">员工管理</a></li>
        <li><a href="<?php echo $this->module_url;?>/announce/">公告</a></li>
        <?php
        if($this->S_staff):
        ?>
        <li><a href="<?php echo $this->module_url;?>/index/logout/">注销</a></li>
        <?php
        else:
        ?>
        <li><a href="<?php echo $this->module_url;?>/index/login/">登录</a></li>
        <?php
        endif;
        ?>
        <li id="AdvanceBox">
          <form id="qsearch" name="qsearch" method="post" action="<?php echo $this->module_url;?>/client/">
            <input type="text" value="开始全新搜索" class="HeaderSearchBox DC" id="qsearch_keyword" name="qsearch[keyword]"/>
            <input type="submit" class="HeaderSearchBtn" value="搜索"/>
          </form>
			<script type="text/javascript">
			$(function(){
				$('input.HeaderSearchBox').searchField();
			});
			</script>
        </li>
      </ul>
    </div>
  </div>
  <div id="QuickLinks">
    <ul><?php
        if($this->S_staff):
        ?>
         <li>您好，<?php echo $this->S_staff['username']; ?>！<a href="<?php echo $this->module_url;?>/index/logout/">[退出]</a></li>
        <?php
        else:
        ?>
        <li>您好，<a href="<?php echo $this->module_url;?>/index/login/">请先登录！</a></li>
        <?php
        endif;
        ?>
       <li><a href="<?php echo $this->module_url;?>/client/list">客户列表</a></li>
      <li><a href="<?php echo $this->module_url;?>/client/add">新增客户</a></li>
      <li><a href="<?php echo $this->module_url;?>/announce">公告列表</a></li>
      <li><a href="<?php echo $this->module_url;?>/contactHistory/detaillist">联系历史</a></li>
      <li><a href="<?php echo $this->module_url;?>/announce/add">发布公告</a></li>
      <li><a href="<?php echo $this->module_url;?>/client/exist">撞单查询</a></li>
      <li><a href="<?php echo $this->module_url;?>/client/search/">高级搜索</a></li>
    </ul>
  </div>
</div>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
<!--		<td align="left" valign="top" width="185px">
<?php //echo $this->render('leftmenu.php');?>
		</td>-->
		<td align="left" valign="top" style="padding:5px;">
<?php
if(isset($this->path)):
?>
<div id="ListPathLinks">
  <ul class="PathLinksLevel1">
    <li><a href="<?php echo $this->path['root']['link']; ?>"><?php echo $this->path['root']['title']; ?></a></li>
    <?php
    foreach ($this->path['points'] as $point):
    ?>
    <li><a href="<?php echo $point['link']; ?>"><?php echo $point['title']; ?></a></li>
	<?php
	endforeach;
	?>
    <li><?php echo $this->path['node']['title']; ?>
    <?php
    if (isset($this->path['node']['count'])):
    ?>
    <li>(<?php echo $this->path['node']['count']; ?>)</i>
	<?php
	endif;
	?>
    </li>
  </ul>
  <ul id="ListPathOptions">
  </ul>
</div>
<?php
endif;
?>
